Platform Explorer / Nuxeo Platform 11.4

Component org.nuxeo.elasticsearch.defaultConfig

Requirements

Resolution Order

744
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version='1.0' encoding='UTF-8'?>
<component name="org.nuxeo.elasticsearch.defaultConfig">
  <require>org.nuxeo.elasticsearch.ElasticSearchComponent</require>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchEmbeddedServer">
    <elasticSearchEmbeddedServer clusterName="nuxeoCluster" nodeName="nuxeoNode" pathData="/var/lib/nuxeo/elasticsearch" pathLogs="/var/log/nuxeo/elasticsearch" httpEnabled="true" networkHost="127.0.0.1"/>
  </extension>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchClient">
    <elasticSearchClient class="org.nuxeo.elasticsearch.client.ESRestClientFactory">
      <option name="addressList"/>
      <option name="connection.timeout.ms">30000</option>
      <option name="socket.timeout.ms">20000</option>
      <option name="username"/>
      <option name="password">********</option>
      <option name="trustStorePath"/>
      <option name="trustStorePassword">********</option>
      <option name="trustStoreType"/>
      <option name="keyStorePath"/>
      <option name="keyStorePassword">********</option>
      <option name="keyStoreType"/>
      <!-- deprecated since 10.3, and actually referring to the trustStore -->
    </elasticSearchClient>
  </extension>

  <extension target="org.nuxeo.elasticsearch.ElasticSearchComponent" point="elasticSearchIndex">
    <elasticSearchIndex name="nuxeo" type="doc" repository="default">
      <fetchFromSource>
        <include>ecm:*</include>
        <include>dc:*</include>
        <exclude>ecm:binarytext</exclude>
      </fetchFromSource>
      <settings file="elasticsearch-doc-settings.json"/>
      <mapping file="elasticsearch-doc-mapping.json"/>
    </elasticSearchIndex>
  </extension>

</component>